import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Vant from 'vant';
import 'vant/lib/index.css';
import "amfe-flexible"
import "./assets/style/reset.css"  //引入全局样式

Vue.use(Vant);
Vue.config.productionTip = false;
// if(process.env.NODE_ENV === 'development'){
//   require('./mock/mock.js')
// }
if(process.env.NODE_ENV === "development"){
  require('./mock/mock.js')
}


new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
